/* @font-face {
    font-family: "阿里妈妈方圆体 VF Regular";src: url("../assets/MKewQNz97byK/uvUojNlJTzuX.woff2") format("woff2"),
    url("../assets/MKewQNz97byK/uvUojNlJTzuX.woff") format("woff");
    font-display: swap;
  } */
   #app {
    padding-top: 52px;
   }

   .active-menu {
    color: #e2e2e2; /* 这里设置激活时的文字颜色，可根据需求修改 */
    /* 你还可以添加其他样式，如背景色等 */
  }


.head{
    z-index: 100;
    width: 100%;
    height: 52px;
    background-color: #9ed374;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
}

.head .logo {
    width: 105px;
    height: 52px;
    margin-left: 50px;
    /* background-color: #000000; */
    display: inline-block;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logo-font1 {
    display: inline-block;
    margin-left: 5px;
}

/* .head .logo .logo-font1 {
    display: inline-block;
    background-color: #000000;
} */

.head .logo .logo-icon {
    width: 36px;
    height: 36px;
}

/* .logo-font {
    font-family: "阿里妈妈方圆体 VF Regular", sans-serif;
} */

.head .w1240{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    height: 52px;
}

.head .w1240 .such {
    width: 300px;
    height: 30px;
    border-radius: 10px;
    border: none;
    border-color: white;
    outline: none;
    text-indent: 20px;
    margin-right: 10px;
}
.head .w1240 span {
    position: absolute;
    width: 30px;
    height: 30px;
    margin-right: -250px;
}

.head .w1240 span svg{
    width: 30px;
    height: 30px;
}

.user-image {
    margin-top: 10px;
    margin-right: 50px;
}

.user-image span{
    font-size: 11px;
}

.head ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.head ul li a{
    color: #000000;
    font-size: 14px;
    border-right: 1px solid #999;
    padding: 0 15px;
    transition: all 0.3s;
}

.head ul li:last-child a{
    padding-right: 0;
    border: 0;
}

.head ul li:first-child a,.head ul li a:hover{
    color: #fe6100;
}

.header{
    height: 132px;
}

.header .w1240{
    display: flex;
    height: 100%;
    align-items: center;
}

.header .logo{
    width: 200px;
    height: 88px;
    margin-right: 41px;
}

.header .logo h1,
.header .logo h1 a{
    width: 100%;
    height: 100%;
}

.header .logo h1 a{
    display: block;
    /* background-image: url('../img/carlogo.jpg'); */
    background-repeat: no-repeat;
    background-size: 200px 88px;
    text-indent: -9999px;
}

.header .nav ul{
    display: flex;
}

.header .nav ul li{
    margin-right: 60px;
}

.header .nav ul li:last-child{
    margin-right: 40px;
}

.header .nav ul li a {
    padding-bottom: 10px;
    transition: all 0.3s;
}

.header .nav ul li a:hover{
    color: #b93333;
    border-bottom: 2px solid #b93333;
}

.header .search{
    display: flex;
    justify-content: space-between;
    margin-left: 75px;
    width: 170px;
    height: 36px;
    border-bottom: 2px solid #f4f4f4;
    margin-left: 60px;
}

.header .search span{
    font-size: 20px;
    color: #ccc;
}

.header .search input{
    width: 142px;
    border: 0;
    outline: none;
    background-color: transparent;
}

.header .search input::placeholder{
    color: #ccc;
    font-size: 16px;
}

.header .cart{
    margin-left: 45px;
}

.header .cart span{
    position: relative;
    font-size: 24px;
}

.header .cart span em{
    padding: 0 6px;
    position: absolute;
    right: -5px;
    top: -5px;
    font-style: normal;
    font-size: 12px;
    color: #fff;
    height: 15px;
    line-height: 15px;
    background-color: #e26237;
    border-radius: 7px;
}
/* 导航栏样式 */
.left-meun {
    /* margin-top: 20px; */
    width: 200px;
    height: 100%;
    position: fixed;
    /* display: block; */
    /* background-color: #a3a1a1; */
}

.left-meun ul {
    height: 100%;
}
.left-meun ul li {
    height: 35px;
    line-height: 35px;
    margin-top: 5px;
    /* background-color: red; */
    padding-left: 20px;
    border-radius: 15px;
    cursor: pointer;
}

.left-meun ul li:hover {
    background-color: #e2e2e2;

}

.left-meun ul li span {
    margin-right: 40px;
}

.left-meun ul li span img{
    position: absolute;
    width: 25px;
    margin-top: 5px;
}

.left-meun ul li span:last-child img {
    margin-left: 45px;
    position: absolute;
    margin-top: 6px;
}

/* .left-meun ul li:last-child {
    margin-top: 650px;
} */

/* 修改后的样式 */
div.left-meun ul li:hover router-link a{
    color: #9ed374;
  }

/* 右侧主题样式 */
/* .right-theme {
    width: 200px;
    position: fixed;
    right: 200px;
    top: 52px;
    height: calc(100% - 52px);
    overflow-y: auto;
  } */

  /* .theme-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    background-color: white;
  }

  .theme-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .theme-desc {
    padding: 10px;
  } */

  /* .theme-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 显示的行数
    -webkit-box-orient:vertical;
  } */
  .right-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, 310px);
    justify-content: space-between;
    gap: 10px;
    width: 1600px;
    /* height: 100px; */
    /* background-color: #999; */
    position: relative;
    margin-left: 250px;
    margin-top: 20px;
}

.subbox {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 20px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.subbox .textbox {
    padding: 15px;
}

.subbox .textbox p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 40px;
}

.el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
  }
  .el-icon-arrow-down {
    font-size: 12px;
  }

  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }
  .avatar {
    width: 178px;
    height: 178px;
    display: block;
  }
